#pragma once


#ifdef __cplusplus
extern "C" {
#endif
#include "esp_wifi.h"


int wifi_scan(void (*scan_done)(char *ssid));
void wifi_scan_stop(void);
char* wifi_get_scan_result(int i);
wifi_ap_record_t* get_ap_info();

#ifdef __cplusplus
}
#endif